﻿@model csharp_rentals_415.Models.HomeEditVm
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h1>Edit Rental</h1>

@using (Html.BeginForm())
{
    <div>
        @Html.HiddenFor(model => model.RentalId)
    </div>
    <div>
        @Html.LabelFor(model => model.Address)
        @Html.TextBoxFor(model => model.Address)
    </div>
    <div>
        @Html.LabelFor(model => model.Realtor)
        @Html.TextBoxFor(model => model.Realtor)
    </div>
    <div>
        @Html.LabelFor(model => model.RentAmount)
        @Html.TextBoxFor(model => model.RentAmount)
    </div>
    <div>
        @Html.LabelFor(model => model.SquareFootage)
        @Html.TextBoxFor(model => model.SquareFootage)
    </div>
    
    <div>
        <input type="submit" value="Save Changes" />
    </div>
}
